<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    
    

    <div class="form-group">
        <label for="c-goods_id" class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule="required" data-source="goods/index" class="form-control selectpage" name="row[goods_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label for="c-name" class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-cate" class="control-label col-xs-12 col-sm-2">{:__('Cate')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-cate" data-rule="required" class="form-control selectpicker" name="row[cate]">
                {foreach name="cateList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-isp" class="control-label col-xs-12 col-sm-2">{:__('Isp')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-isp" data-rule="required" class="form-control" name="row[isp]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-pkg" class="control-label col-xs-12 col-sm-2">{:__('Pkg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pkg" data-rule="required" class="form-control" name="row[pkg]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-month" class="control-label col-xs-12 col-sm-2">{:__('Month')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-month" data-rule="required" class="form-control" name="row[month]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-des" class="control-label col-xs-12 col-sm-2">{:__('Des')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-des" data-rule="required" class="form-control" name="row[des]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label for="c-info" class="control-label col-xs-12 col-sm-2">{:__('Info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-info" data-rule="required" class="form-control " rows="5" name="row[info]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label for="c-price" class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" data-rule="required" class="form-control" step="0.01" name="row[price]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label for="c-sale" class="control-label col-xs-12 col-sm-2">{:__('Sale')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-sale" data-rule="required" class="form-control selectpicker" name="row[sale]">
                {foreach name="saleList" item="vo"}
                <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label for="c-rebate_amount" class="control-label col-xs-12 col-sm-2">{:__('Rebate_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rebate_amount" class="form-control" step="0.01" name="row[rebate_amount]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-rebate_rule" class="control-label col-xs-12 col-sm-2">{:__('Rebate_rule')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-rebate_rule" data-rule="required" class="form-control selectpicker" name="row[rebate_rule]">
                {foreach name="rebateRuleList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label for="c-user_rebate1" class="control-label col-xs-12 col-sm-2">{:__('User_rebate1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_rebate1" class="form-control" step="0.01" name="row[user_rebate1]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_rebate2" class="control-label col-xs-12 col-sm-2">{:__('User_rebate2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_rebate2" class="form-control" step="0.01" name="row[user_rebate2]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-user_rebate3" class="control-label col-xs-12 col-sm-2">{:__('User_rebate3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_rebate3" class="form-control" step="0.01" name="row[user_rebate3]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-agent_rebate1" class="control-label col-xs-12 col-sm-2">{:__('Agent_rebate1')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_rebate1" class="form-control" step="0.01" name="row[agent_rebate1]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-agent_rebate2" class="control-label col-xs-12 col-sm-2">{:__('Agent_rebate2')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_rebate2" class="form-control" step="0.01" name="row[agent_rebate2]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label for="c-agent_rebate3" class="control-label col-xs-12 col-sm-2">{:__('Agent_rebate3')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-agent_rebate3" class="form-control" step="0.01" name="row[agent_rebate3]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
